<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
    template="../admin/admin-template.xhtml"> 
   <h:outputStylesheet>
        .ecol1 {
        vertical-align: top;
        padding-right: 25px
        }
 
        .ecol2 {
        vertical-align: top;
        border-left: #ACBECE 1px solid;
        padding-left: 10px
        }
 
        .rich-calendar-tool-btn {
        font-family: Arial, Verdana;
        }
    </h:outputStylesheet>
	<ui:define name="title">Добави роля или ранг</ui:define>
	<ui:define name="body">
	<h1>Администрация <span>: Въведете желана роля</span></h1>
	<p>Обузначените със <span style="color:red;">*</span> полета са задължителни !</p>
	<div id="addRole">
	
	<h:form id="rolemanage">
		<table id="rm">
            	<tr>
            		<td ><span style="color:red;">*</span>Име</td>
            		<td><h:inputText id="rname" requiredMessage=" празно поле"  required="true" value="#{personPosition.currentRole.roleName}" ></h:inputText> <h:message style="color:red;" for="rname"> </h:message></td>
            	</tr>
            	<tr>
            		<td class="txtRight" style="position:relative"><span style="color:red;">* </span><span class="specificLabel3">Описание</span></td>
            		<td><h:inputTextarea id="rrole" requiredMessage=" празно поле" required="true" value="#{personPosition.currentRole.description}" cols="60" rows="10" /> 
            		<h:message style="color:red;" for="rrole"> </h:message>
            		</td>
            	</tr>
            	</table>
            	<h:commandButton styleClass="btnSubmit" action="#{personPosition.save(personPosition.currentRole)}" value="Запамети">
    			</h:commandButton>
	</h:form>
           

 </div>
	</ui:define>
	</ui:composition>

